html,
body {
    width: 100%;
    height: 100%;
    margin: 0px;
}

header {
    height: 30%;
    width: 100%;
}

header>img {
    height: 100%;
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
}

.nav1 {
    top: 0;
    position: absolute;
    width: 100%;
    transition: all 0.3s ease;
    /* color:rgb(185, 182, 182) */
}

.nav1>ul {
    display: flex;
    list-style: none;
    margin-left: 80px;
}

.nav1>ul>li {
    margin-left: 30px;
    color: white;
    line-height: 35px;
}

input {
    border-radius: 25px/50px;
    width: 200px;
    height: 30px;
    opacity: 1;
    background-color: white;
   outline-color: pink;
}

input:hover {
   
    background-color: white;
   
}

.nav1>ul>li>span {
    line-height: 40px;
    text-indent: -30px;
    cursor: pointer;
}

/* 轮播图 */
.main {
    width: 100%;
    height: 400px;
    margin-top: 30px;
    display: flex;
}

.carousel {
    width: 45%;
    height: 330px;
    overflow: hidden;
    position: relative;
}

.carousel>img {
    width: 100%;
    height: 100%;
    position: relative;
  
}

.container {
    width: 65%;
    height: 300px;
    display: flex;
    flex-wrap: wrap;
}

.container>img {
    width: 30%;
    height: 48%;
    margin-left: 10px;
    margin-top: 20px;
    cursor: pointer;
    transition: all 0.4s ease;
}

/* .container>img:hover {
    transform: scale(1.1);
} */

/* 轮播图按钮 */
.carousel>ul {
    position: absolute;
    line-height: 0px;
    display: flex;
    width: 100%;
    height: 10px;
    top: 90%;
    left: 35%;
}

.carousel>ul>li {
    margin-left: 22px;
    width: 1px;
    color: gray;
    opacity: 0.7;
    font-size: 25px;
    cursor: pointer;
}

#left {
    position: absolute;
    top: 55%;
    opacity: 0.5;
    color: gray;
    background-color: aliceblue;
    width: 30px;
    height: 30px;
    line-height: 30px;
    cursor: pointer;
}

#right {
    cursor: pointer;
    position: absolute;
    opacity: 0.5;
    top: 55%;
    right: 0%;
    color: gray;
    background-color: aliceblue;
    width: 30px;
    height: 30px;
    line-height: 30px;
}


#right:hover {
    opacity: 0.8;
}

#left:hover {
    opacity: 0.8;
}

.btn:hover {
    opacity: 1;
}